LOCAL_PATH := $(call my-dir)
# include $(call all-makefiles-under,$(LOCAL_PATH))

include $(CLEAR_VARS)
LOCAL_MODULE := libbinder
LOCAL_SRC_FILES := $(LOCAL_PATH)/libs/libbinder.so
include $(PREBUILT_SHARED_LIBRARY)


include $(CLEAR_VARS)
LOCAL_MODULE := libui
LOCAL_SRC_FILES := $(LOCAL_PATH)/libs/libui.so
include $(PREBUILT_SHARED_LIBRARY)

include $(CLEAR_VARS)
LOCAL_MODULE := libgui
LOCAL_SRC_FILES := $(LOCAL_PATH)/libs/libgui.so
include $(PREBUILT_SHARED_LIBRARY)


include $(CLEAR_VARS)
LOCAL_MODULE := libutils
LOCAL_SRC_FILES := $(LOCAL_PATH)/libs/libutils.so
include $(PREBUILT_SHARED_LIBRARY)

include $(CLEAR_VARS)
LOCAL_MODULE := libcutils
LOCAL_SRC_FILES := $(LOCAL_PATH)/libs/libcutils.so
include $(PREBUILT_SHARED_LIBRARY)

# include $(LOCAL_PATH)/png/Android.mk

include $(CLEAR_VARS)
#LOCAL_C_INCLUDES := \
	external/skia/include/core
LOCAL_C_INCLUDES += $(LOCAL_PATH)/include
LOCAL_SRC_FILES := surface_test.cpp
LOCAL_SHARED_LIBRARIES := \
    libbinder \
    libui \
    libgui \
    libutils \
    libcutils \
#     libpng \
#    libskia
LOCAL_STATIC_LIBRARIES := \
    libpng \

LOCAL_MODULE    := surface
LOCAL_MODULE_TAGS := optional
include $(BUILD_EXECUTABLE)

include $(call all-makefiles-under,$(LOCAL_PATH))